<template>
	<app-layout>
		<view class="img" v-for="(item,index) in imglist" :key="index">
			<image :src="item.icon_url" mode="widthFix" class="img"></image>
		</view>
	</app-layout>
</template>

<script>
	export default {
		data() {
			return {
				imglist: []
			}
		},
		onLoad() {
			this.allReq()
		},
		methods: {
			allReq() {
				this.$request({
					url: this.$api.navs.list,
					data: {
						pid: 253,
						status: 1
					}
				}).then((res) => {
					this.imglist = res.data.list
				}).catch(() => {

				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.img {
		width: 100%;
		padding: 0;
		margin: 0;
	}
</style>
